package com.gxa.service.impl;

import com.gxa.mapper.HsInfoMapper;
import com.gxa.service.HsInfoService;
import com.gxa.vo.PatientRegInfoVo;
import com.gxa.vo.SelectByCardTimeVo;
import com.gxa.vo.UpdateRemakeVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HsInfoServiceImpl implements HsInfoService {

    @Autowired
    private HsInfoMapper hsInfoMapper;
    @Override
    public List<PatientRegInfoVo> selectByCardTime(SelectByCardTimeVo selectByCardTimeVo) {
        List<PatientRegInfoVo> list = this.hsInfoMapper.selctPatientInfo(selectByCardTimeVo);
        return list;
    }

    @Override
    public void updateRemake(UpdateRemakeVo updateRemakeVo) {
        this.hsInfoMapper.updateRemake(updateRemakeVo);
    }
}
